package com.huazi.www.user.cost.service;

import com.huazi.www.user.cost.entity.UserEntity;
import com.huazi.www.user.cost.util.Page;

import java.util.List;

public interface UserService {
    /**
     * 查询用户缴费状态
     *
     * @return
     */
    public int UserStateSelect_int();

    /**
     * 分页查询
     *
     * @param currPageNo
     * @return
     */
    public Page<UserEntity> UsetStateFengYeSelect(String name, Integer currPageNo);


    public boolean userPaymentInsert_bool(Integer userId, UserEntity entity);


    public Double UserMoneySelect_bool(Integer userId);


    public List<UserEntity> userPayment_bool(Integer userId);


//    public int userPaymentInsert_bool(UserEntity entity,Integer userId);

    /**
     * 根据用户id判断修改是否成功
     *
     * @param userId 用户id
     * @return
     */
    public boolean userStateUpdate_bool(Integer userId);
}
